﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="TaoBaoApi_TB_UploadBB2" ValidateRequest="false" Codebehind="TB_UploadBB2.aspx.cs" %>
<%@Register TagPrefix="dntb" Namespace="DotNetTextBox" Assembly="DotNetTextBox"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>上传淘宝宝贝</title>
</head>
<body>
    <form id="form1" runat="server">
    <div align="justify">
        <h2>发布淘宝宝贝（第二步）</h2>        
        <div class="juli">           
            <table>
                <tr>
                    <td>设置宝贝分类：</td>
                    <td><asp:DropDownList ID="ddlType1" runat="Server" AutoPostBack="True" OnSelectedIndexChanged="ddlType1_SelectedIndexChanged" /><asp:DropDownList ID="ddlType2" runat="Server" AutoPostBack="True" OnSelectedIndexChanged="ddlType2_SelectedIndexChanged" /><asp:DropDownList ID="ddlType3" runat="server" /></td> 
                </tr> 
                <tr>
                    <td>发布类型：</td>
                    <td>
                         <asp:RadioButtonList ID="radioType" runat="server" RepeatDirection="horizontal">
                            <asp:ListItem Selected="true" Value="fixed">一口价</asp:ListItem>
                            <asp:ListItem Value="auction">拍卖</asp:ListItem>
                         </asp:RadioButtonList></td> 
                </tr>
                <tr>
                    <td>宝贝上传后的状态：</td>
                    <td>
                         <asp:RadioButtonList ID="radioApproveStatus" runat="Server" RepeatDirection="Horizontal" >
                            <asp:ListItem Selected="True" Value="onsale">出售中</asp:ListItem>
                            <asp:ListItem Value="instock">仓库中</asp:ListItem>
                        </asp:RadioButtonList></td> 
                </tr>
                <tr>
                    <td>宝贝新旧程度：</td>
                    <td>
                        <asp:RadioButtonList ID="radioStuffStatus" runat="server" RepeatDirection="horizontal">
                            <asp:ListItem Selected="true" Value="new">全新</asp:ListItem>
                            <asp:ListItem Value="second">二手</asp:ListItem>
                            <asp:ListItem Value="unused">闲置</asp:ListItem>
                        </asp:RadioButtonList>
                    </td> 
                </tr>
                <tr>
                    <td>宝贝数量：</td>
                    <td><asp:TextBox ID="txtNum" runat="server" >100</asp:TextBox></td> 
                </tr>
                <tr>
                    <td>宝贝价格(起拍价)：</td>
                    <td><asp:TextBox ID="txtPrice" runat="server" /></td> 
                </tr>
                  <tr>
                    <td>所在地：</td>
                    <td><asp:DropDownList ID="ddlProvince" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlProvince_SelectedIndexChanged" />
                             <asp:DropDownList ID="ddlCity" runat="server" /></td> 
                </tr>
                <tr>
                    <td>
                        运费承担方：</td>
                    <td>
                        <asp:RadioButtonList  ID="radioFreight" runat="server" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="radioFreight_SelectedIndexChanged">
                            <asp:ListItem Selected="True" Value="buyer">买家</asp:ListItem>
                            <asp:ListItem Value="seller"> 卖家</asp:ListItem>
                        </asp:RadioButtonList>
                    </td> 
                </tr>
                <tr>
                    <td>运费明细</td>
                    <td>平邮：<asp:TextBox ID="txtPostFee" runat="Server" >20.00</asp:TextBox>
                              快递：<asp:TextBox ID="txtExpress" runat="server" >10.00</asp:TextBox>
                              EMS：<asp:TextBox ID="txtEMS" runat="server" >20.00</asp:TextBox></td> 
                </tr>
                <tr>
                    <td>有效期：</td>
                    <td><asp:RadioButtonList ID="radioValid" runat="Server" RepeatDirection="Horizontal">
                             <asp:ListItem Selected="True" Value="14">14天</asp:ListItem>
                            <asp:ListItem Value="7">7天</asp:ListItem>
                             </asp:RadioButtonList> </td> 
                </tr>
                <tr>
                    <td></td>
                    <td><asp:CheckBox ID="chkInvoice" runat="server" Text="有发票" />
                             <asp:CheckBox ID="chkWarranty" runat="Server" Text="有保修" />
                             <asp:CheckBox ID="chkDiscount" runat="Server" Text="支持会员打折" />
                             </td> 
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <asp:CheckBox ID="chkAutoRepost" runat="server" Text="自动上架" />
                        <asp:CheckBox ID="chkShowCase" runat="server" Text="橱窗推荐" />  
                    </td> 
                </tr>
                   <tr>
                    <td>宝贝名称：</td>
                   <td><asp:TextBox ID="txtTitle" runat="server" Width="501px" /></td> 
                </tr>
                 <tr>
                    <td>宝贝图片：</td>
                    <td>
                        <asp:Image ID="Image1" runat="server" Visible="false" />
                        <asp:FileUpload ID="fileImg" runat="Server" /></td> 
                </tr>
                <tr>
                    <td>宝贝描述：</td>
                    <td><dntb:WebEditor ID="web1" runat="server" /> </td> 
                </tr>              
                <tr>
                    <td></td>
                    <td><asp:Button ID="btnUp" runat="Server" Text="好了，发布宝贝" OnClick="btnUp_Click" />
                             <asp:TextBox ID="txtUser" runat="server" Visible="false" />
                             <asp:TextBox ID="txtProps" runat="Server" Visible="false" />
                             </td> 
                </tr>
            </table> 
        </div>               
    </div>
    </form>
</body>
</html>
